<!--#include file="lib/utf-8.asp"-->
<!--#include file="lib/conn.asp"-->
<!--#include file="lib/saferequest.asp"-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<link rel="stylesheet" href="lib/sheet.css" type="text/css">
<script type="text/javascript" src="lib/jquery_lastest.js"></script>
<script type="text/javascript">
	$(function() {
				$(".contable").addClass("ct");	//载入table样式
				$(".contable th").addClass("ch");	//载入th样式
				$(".contable td").addClass("cd");	//载入td样式

				$(".contable tbody tr:odd").addClass("alt");	//对表格主体内单数行进行样式应用

				$(".contable tbody tr").hover(function(){	//对返回的dom进行hover事件捕获
					$(this).addClass("over");	//添加css样式
				},function(){
					$(this).removeClass("over");	//移除css样式
				});
		
	
	});
</script>	
</head>
<%
call CheckRights(1,1)
%>

<body>
<%
	Set rs = Server.CreateObject("ADODB.Recordset")
	sql = "SELECT *  FROM salesman order by salesman_id desc"
	rs.Open sql,conn,1,1
%>
<div class="navbar">
	<a href="salesman.asp">业务员信息管理</a>&gt;&gt;<a href="add_salesman.asp">添加业务员</a>&gt;&gt;
</div>

<table class="contable">
<thead>
  <tr>
      <th>业务员名称</th>
      <th>联系电话</th>
    </tr>
	</thead>
	<% while not rs.eof %>
	<tbody>
  	<tr>
      <td><a href="edit_salesman.asp?salesman_id=<%=rs("salesman_id")%>"><%=rs("salesman_name")%></a></td>
      <td><%=rs("salesman_phone")%></td>
    </tr>
	</tbody>
	<% rs.movenext
	wend
	rs.close
	set rs=nothing
	conn.close
	Set conn=nothing
	%>
  </table>
</body>
</html>
